<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ip分割</title>
<script src="http://cdn.static.runoob.com/libs/jquery/1.10.2/jquery.min.js">
</script>
</head>
<body>
<div  >
<script>
$(document).ready(function(){
	$("#sp").click(function(){
		$.post("/cgi-bin/splitIP.py",{
			ipd:$("#ipd").val(),
			ipdd:$("#ipdd").val()
		},
		function(data,status){
			$("#ipsplit").html(data);
		});
	});
});
</script>
<p>要处理的网段:</p>
<p> <input type="text" id="ipd" style="width: 600px"></p>
<p>要剔除的地址: </p>
<textarea id="ipdd" cols="100" rows="20" style="width: 600px">
</textarea>
<p>
<button id="sp">开始分割</button>
</p>
<div id='ipsplit'>

</div>
</div>
</body>
</html>